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