X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fvogltest%2FCMakeLists.txt;h=fc2a795536148ab06cf247eb04a57a7a2c4af76c;hb=5f0c7ee451e8d431ab9d7676695b3fab85df405c;hp=fca718cf87fbb94489bcffbfb2b681a979cac660;hpb=2762424cacca0e8e4c9cfcf4b13b89537b7f24aa;p=vogl diff --git a/src/vogltest/CMakeLists.txt b/src/vogltest/CMakeLists.txt index fca718c..fc2a795 100644 --- a/src/vogltest/CMakeLists.txt +++ b/src/vogltest/CMakeLists.txt @@ -2,6 +2,7 @@ project(vogltest) cmake_minimum_required(VERSION 2.8) include("${SRC_DIR}/build_options.cmake") +find_package(X11 REQUIRED) option(VOGLTEST_LOAD_LIBVOGLTRACE "If enabled vogltest will load libvogltrace.so manually and not implictly link against libgl.so" FALSE) @@ -27,7 +28,7 @@ add_executable(${PROJECT_NAME} ${SRC_LIST}) target_link_libraries(${PROJECT_NAME} voglcore - X11 + ${X11_X11_LIB} ${VOGLTEST_OPENGL_LIBRARY} ${CMAKE_DL_LIBS} )