CMakeLists.txt
branchtrunk
changeset 333 2b36a1d72fa1
parent 328 6ea15911de70
child 390 4effa7e6b49c
--- a/CMakeLists.txt	Tue May 27 11:17:52 2008 -0400
+++ b/CMakeLists.txt	Wed May 28 09:49:53 2008 -0400
@@ -13,7 +13,7 @@
     ADD_DEFINITIONS(-TP)  # force .c files to compile as C++.
 ENDIF(MSVC)
 
-#FIND_PACKAGE(SDL)
+FIND_PACKAGE(SDL)
 IF(SDL_FOUND)
     INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
     ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)
@@ -22,8 +22,7 @@
 ENDIF(SDL_FOUND)
 
 ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
-#ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c mojoshader_opengl.c)
-ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c)
+ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c mojoshader_opengl.c)
 TARGET_LINK_LIBRARIES(finderrors ${SDL_LIBRARY} ${EXTRA_LIBS})
 
 # End of CMakeLists.txt ...