mirror of
https://github.com/minetest/minetest.git
synced 2024-11-11 10:13:45 +01:00
d825ed572f
--HG-- rename : Makefile => Makefile.bak
17 lines
313 B
CMake
17 lines
313 B
CMake
if( UNIX )
|
|
set(jthread_SRCS pthread/jmutex.cpp pthread/jthread.cpp)
|
|
set(jthread_platform_LIBS "")
|
|
else( UNIX )
|
|
set(jthread_SRCS win32/jmutex.cpp win32/jthread.cpp)
|
|
set(jthread_platform_LIBS "")
|
|
endif( UNIX )
|
|
|
|
add_library(jthread ${jthread_SRCS})
|
|
|
|
target_link_libraries(
|
|
jthread
|
|
${jthread_platform_LIBS}
|
|
)
|
|
|
|
|