annotate Resources/Samples/OrthancClient/Basic/CMakeLists.txt @ 996:cf52f3bcb2b3
lua-scripting
clarification of Lua classes wrt multithreading
author |
Sebastien Jodogne <s.jodogne@gmail.com> |
date |
Thu, 03 Jul 2014 16:27:16 +0200 |
parents |
3237eea24487 |
children |
|
rev |
line source |
531
|
1 cmake_minimum_required(VERSION 2.8)
|
|
2
|
|
3 project(Basic)
|
|
4
|
|
5 add_executable(Test main.cpp)
|
|
6
|
|
7 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|
8 # Linking with "pthread" is necessary, otherwise the software crashes
|
|
9 # http://sourceware.org/bugzilla/show_bug.cgi?id=10652#c17
|
|
10 target_link_libraries(Test pthread dl)
|
|
11 endif()
|