fix: incorrect CMake boolean logic fixed

This commit is contained in:
Mateusz Pusz
2024-05-31 09:27:05 +02:00
parent ad94c2e6de
commit a874d64301
2 changed files with 2 additions and 2 deletions

View File

@@ -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()