mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
fix: incorrect CMake boolean logic fixed
This commit is contained in:
@ -67,7 +67,7 @@ endif()
|
|||||||
# add project code
|
# add project code
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
if(!${projectPrefix}API_FREESTANDING)
|
if(NOT ${projectPrefix}API_FREESTANDING)
|
||||||
# add usage example
|
# add usage example
|
||||||
add_subdirectory(example)
|
add_subdirectory(example)
|
||||||
endif()
|
endif()
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.5)
|
||||||
|
|
||||||
if(!${projectPrefix}API_FREESTANDING)
|
if(NOT ${projectPrefix}API_FREESTANDING)
|
||||||
add_subdirectory(runtime)
|
add_subdirectory(runtime)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(static)
|
add_subdirectory(static)
|
||||||
|
Reference in New Issue
Block a user