Skip to content

Commit

Permalink
Fix wrong cmake if-block for platform specific translation units
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Wippler committed Mar 8, 2022
1 parent 6218de3 commit a27f1c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,10 @@ set(SOURCES
if(WIN32)
set(SOURCES ${SOURCES} src/platform_specific/affinity.win.cc)
set(SOURCES ${SOURCES} src/platform_specific/named_threads.win.cc)
elseif(UNIX AND NOT APPLE)
set(SOURCES ${SOURCES} src/platform_specific/affinity.unix.cc)
elseif(UNIX)
if(NOT APPLE)
set(SOURCES ${SOURCES} src/platform_specific/affinity.unix.cc)
endif()
set(SOURCES ${SOURCES} src/platform_specific/named_threads.unix.cc)
endif()

Expand Down

0 comments on commit a27f1c9

Please sign in to comment.