diff options
Diffstat (limited to 'src/jthread/CMakeLists.txt')
-rw-r--r-- | src/jthread/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/jthread/CMakeLists.txt b/src/jthread/CMakeLists.txt new file mode 100644 index 000000000..be38f87f3 --- /dev/null +++ b/src/jthread/CMakeLists.txt @@ -0,0 +1,16 @@ +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} +) + + |