From a703bf7a4371d74db14d7a54d6b76437be4e5c1e Mon Sep 17 00:00:00 2001 From: David Williams Date: Mon, 30 Mar 2009 19:43:38 +0000 Subject: [PATCH] Had to put the LIMK_DIRECTORIES line back in, as windows didn't work without it. --- examples/OpenGL/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/OpenGL/CMakeLists.txt b/examples/OpenGL/CMakeLists.txt index 407bb199..3d85acb1 100644 --- a/examples/OpenGL/CMakeLists.txt +++ b/examples/OpenGL/CMakeLists.txt @@ -49,6 +49,7 @@ FIND_PACKAGE(OpenGL REQUIRED) #Tell CMake the paths for OpenGL and for PolyVox (which is just relative to our current location) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS} ${OPENGL_INCLUDE_DIR} "../../library/include") +LINK_DIRECTORIES("../../library") #Build ADD_EXECUTABLE(OpenGLExample ${SRC_FILES})