diff options
author | kwolekr <kwolekr@minetest.net> | 2013-09-15 23:00:01 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-09-15 23:00:01 -0400 |
commit | d308352dbd4121d12d4f44d591463468c09d37f9 (patch) | |
tree | e0f0e00e10dfb44ef17ce1b4b2c2188d02a68cfb /cmake/Modules/FindJthread.cmake | |
parent | 3c4734d69a44aea133e5bd7df66a5dedb87785fb (diff) | |
download | minetest-d308352dbd4121d12d4f44d591463468c09d37f9.tar.gz minetest-d308352dbd4121d12d4f44d591463468c09d37f9.tar.bz2 minetest-d308352dbd4121d12d4f44d591463468c09d37f9.zip |
Always use builtin JThread library
Diffstat (limited to 'cmake/Modules/FindJthread.cmake')
-rw-r--r-- | cmake/Modules/FindJthread.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/Modules/FindJthread.cmake b/cmake/Modules/FindJthread.cmake deleted file mode 100644 index 302a3c22f..000000000 --- a/cmake/Modules/FindJthread.cmake +++ /dev/null @@ -1,18 +0,0 @@ -# Look for jthread, use our own if not found - -FIND_PATH(JTHREAD_INCLUDE_DIR jthread.h) - -FIND_LIBRARY(JTHREAD_LIBRARY NAMES jthread) - -IF(JTHREAD_LIBRARY AND JTHREAD_INCLUDE_DIR) - SET( JTHREAD_FOUND TRUE ) -ENDIF(JTHREAD_LIBRARY AND JTHREAD_INCLUDE_DIR) - -IF(JTHREAD_FOUND) - MESSAGE(STATUS "Found system jthread header file in ${JTHREAD_INCLUDE_DIR}") - MESSAGE(STATUS "Found system jthread library ${JTHREAD_LIBRARY}") -ELSE(JTHREAD_FOUND) - SET(JTHREAD_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/jthread) - SET(JTHREAD_LIBRARY jthread) - MESSAGE(STATUS "Using project jthread library") -ENDIF(JTHREAD_FOUND) |