mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 12:33:45 +01:00
12 lines
300 B
CMake
12 lines
300 B
CMake
if( UNIX )
|
|
set(JTHREAD_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pthread/jmutex.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pthread/jthread.cpp
|
|
PARENT_SCOPE)
|
|
else( UNIX )
|
|
set(JTHREAD_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/win32/jmutex.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/win32/jthread.cpp
|
|
PARENT_SCOPE)
|
|
endif( UNIX )
|