CMakeLists.txt
branchtrunk
changeset 269 fbc4e1843809
parent 254 13184ff204b9
child 328 6ea15911de70
--- a/CMakeLists.txt	Fri May 02 07:04:43 2008 -0400
+++ b/CMakeLists.txt	Fri May 02 20:33:10 2008 -0400
@@ -17,6 +17,8 @@
 IF(SDL_FOUND)
     INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
     ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)
+    ADD_EXECUTABLE(glcaps glcaps.c)
+    TARGET_LINK_LIBRARIES(glcaps ${SDL_LIBRARY})
 ENDIF(SDL_FOUND)
 
 ADD_EXECUTABLE(testparse testparse.c mojoshader.c)