Skip to content

Commit

Permalink
Linux: fix CMakeLists.txt generator expression
Browse files Browse the repository at this point in the history
Boolean value wasn't being converted to 0/1.
  • Loading branch information
DavidB137 committed Mar 16, 2024
1 parent 745c0a7 commit 761f472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ add_library(spsp SHARED ${lib_srcs})
set_target_properties(spsp PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
target_compile_definitions(spsp PUBLIC SPSP_LOG_NO_COLORS=${SPSP_LOG_NO_COLORS})
target_compile_definitions(spsp PUBLIC SPSP_LOG_NO_COLORS=$<BOOL:${SPSP_LOG_NO_COLORS}>)
target_include_directories(spsp PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include/common>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include/linux>")
Expand Down

0 comments on commit 761f472

Please sign in to comment.