Had to put the LIMK_DIRECTORIES line back in, as windows didn't work without it.
This commit is contained in:
parent
329093abcf
commit
a703bf7a43
@ -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)
|
#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")
|
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS} ${OPENGL_INCLUDE_DIR} "../../library/include")
|
||||||
|
LINK_DIRECTORIES("../../library")
|
||||||
|
|
||||||
#Build
|
#Build
|
||||||
ADD_EXECUTABLE(OpenGLExample ${SRC_FILES})
|
ADD_EXECUTABLE(OpenGLExample ${SRC_FILES})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user