Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required (VERSION 2.8)
- project (GLWindow)
- include_directories ("/gl")
- add_subdirectory (gl)
- # Avoid "Cannot determine link language for target "gl"." error.
- SET_TARGET_PROPERTIES(gl PROPERTIES LINKER_LANGUAGE C)
- add_executable(GLWindow MainWindow.cpp Main.cpp)
- target_link_libraries (GLWindow gl)
Add Comment
Please, Sign In to add comment