Skip to content

Commit 322e0e7

Browse files
committed
build(cmake): fix generator expression
Fix: #733
1 parent c84c69e commit 322e0e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ target_compile_features(core
2626
target_link_libraries(core
2727
PRIVATE
2828
Threads::Threads
29-
$<$<AND:$<BOOL:UNIX>,$<NOT:$<BOOL:APPLE>>>:rt>
29+
$<$<AND:$<BOOL:${UNIX}>,$<NOT:$<BOOL:${APPLE}>>>:rt>
3030
)
3131

3232
if(HAVE_CXX_LIBATOMIC)

pull/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ target_link_libraries(pull
4747
${PROJECT_NAME}::util
4848
Threads::Threads
4949
$<IF:$<BOOL:${USE_THIRDPARTY_LIBRARIES}>,${PROJECT_NAME}::civetweb,civetweb::civetweb-cpp>
50-
$<$<AND:$<BOOL:UNIX>,$<NOT:$<BOOL:APPLE>>>:rt>
50+
$<$<AND:$<BOOL:${UNIX}>,$<NOT:$<BOOL:${APPLE}>>>:rt>
5151
$<$<BOOL:${ENABLE_COMPRESSION}>:ZLIB::ZLIB>
5252
)
5353

push/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ target_link_libraries(push
2424
PRIVATE
2525
${PROJECT_NAME}::util
2626
Threads::Threads
27-
$<$<AND:$<BOOL:UNIX>,$<NOT:$<BOOL:APPLE>>>:rt>
27+
$<$<AND:$<BOOL:${UNIX}>,$<NOT:$<BOOL:${APPLE}>>>:rt>
2828
)
2929

3030
target_include_directories(push

0 commit comments

Comments
 (0)