X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=src%2Fglxspheres%2FCMakeLists.txt;h=e96910ee33ad3c48c157e7c3403df930f4f39d4f;hb=5f0c7ee451e8d431ab9d7676695b3fab85df405c;hp=4676ab4fcd7ecd42ed2d05532ff0b310b9a0f05e;hpb=2762424cacca0e8e4c9cfcf4b13b89537b7f24aa;p=vogl diff --git a/src/glxspheres/CMakeLists.txt b/src/glxspheres/CMakeLists.txt index 4676ab4..e96910e 100644 --- a/src/glxspheres/CMakeLists.txt +++ b/src/glxspheres/CMakeLists.txt @@ -2,6 +2,7 @@ project(glxspheres) cmake_minimum_required(VERSION 2.8) include("${SRC_DIR}/build_options.cmake") +find_package(X11 REQUIRED) aux_source_directory(. SRC_LIST) @@ -12,7 +13,7 @@ include_directories( add_executable(${PROJECT_NAME} ${SRC_LIST}) target_link_libraries(${PROJECT_NAME} - X11 + ${X11_X11_LIB} ${OPENGL_LIBRARY} m GLU)