Guest User

Untitled

a guest
Apr 13th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.32 KB | None | 0 0
  1. cmake_minimum_required (VERSION 2.8)
  2. project (GLWindow)
  3.  
  4. include_directories ("/GL")
  5. add_subdirectory (GL)
  6.  
  7. # Avoid "Cannot determine link language for target "gl"." error.
  8. SET_TARGET_PROPERTIES(GL PROPERTIES LINKER_LANGUAGE C)
  9.  
  10. add_executable(GLWindow MainWindow.cpp Main.cpp)
  11. target_link_libraries (GLWindow GL)
Add Comment
Please, Sign In to add comment