comparison Samples/Basic/CMakeLists.txt @ 2:8f22ed9d48d5

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 01 Jun 2015 13:59:12 +0200
parents
children 6d59828e2662
comparison
equal deleted inserted replaced
1:fd402e53d263 2:8f22ed9d48d5
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()