Fix/disable argparse install (again)
This commit is contained in:
parent
28e16fbdb9
commit
ca0b103b54
|
@ -26,6 +26,12 @@ set( BUILD_SHARED_LIBS OFF )
|
||||||
|
|
||||||
# Note: The glew folder isn't added here because it is added inside the main CMakeLists.txt
|
# Note: The glew folder isn't added here because it is added inside the main CMakeLists.txt
|
||||||
|
|
||||||
|
# If this is not set, then we cannot set things like ARGPARSE_INSTALL to OFF before the
|
||||||
|
# argparse subdirectory is added. Under the new policy, add_option will allow itself to
|
||||||
|
# be overridden by a previously-set variable like we want to do here. Doing it this way
|
||||||
|
# instead of with cmake_policy will apply the change to the third-party CMakeLists files.
|
||||||
|
set( CMAKE_POLICY_DEFAULT_CMP0077 NEW )
|
||||||
|
|
||||||
set( ARGPARSE_INSTALL OFF )
|
set( ARGPARSE_INSTALL OFF )
|
||||||
add_subdirectory( argparse )
|
add_subdirectory( argparse )
|
||||||
add_subdirectory( clipper )
|
add_subdirectory( clipper )
|
||||||
|
|
Loading…
Reference in New Issue