diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 852e482d..e850a312 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -3,12 +3,6 @@ # the main CMakeLists.txt link_libraries(libglfwStatic ${GLFW_LIBRARIES} ${OPENGL_glu_LIBRARY}) -if (UNIX AND NOT APPLE AND NOT CYGWIN) - find_library(MATH_LIBRARY m) - find_library(REALTIME_LIBRARY rt) - link_libraries(${MATH_LIBRARY} ${REALTIME_LIBRARY}) -endif (UNIX AND NOT APPLE AND NOT CYGWIN) - include_directories(${GLFW_SOURCE_DIR}/include ${GLFW_SOURCE_DIR}/support ${OPENGL_INCLUDE_DIR}) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5199592c..5adbf351 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,12 +2,6 @@ set(STATIC_DEPS libglfwStatic ${GLFW_LIBRARIES} ${OPENGL_glu_LIBRARY}) set(SHARED_DEPS libglfwShared ${GLFW_LIBRARIES} ${OPENGL_glu_LIBRARY}) -if (UNIX AND NOT APPLE AND NOT CYGWIN) - find_library(MATH_LIBRARY m) - find_library(REALTIME_LIBRARY rt) - link_libraries(${MATH_LIBRARY} ${REALTIME_LIBRARY}) -endif (UNIX AND NOT APPLE AND NOT CYGWIN) - include_directories(${GLFW_SOURCE_DIR}/include ${GLFW_SOURCE_DIR}/support ${OPENGL_INCLUDE_DIR})