Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added mojoshader_opengl.c to the project file.
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 27, 2008
1 parent 176c34d commit 2b20e3f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions CMakeLists.txt
Expand Up @@ -12,17 +12,10 @@ FIND_PACKAGE(SDL)
IF(SDL_FOUND)
INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)
IF(APPLE)
FIND_LIBRARY(OPENGL_LIBRARY OpenGL)
MARK_AS_ADVANCED(OPENGL_LIBRARY)
SET(EXTRA_LIBS ${OPENGL_LIBRARY})
ELSE(APPLE)
SET(EXTRA_LIBS GL)
ENDIF(APPLE)
ENDIF(SDL_FOUND)

ADD_EXECUTABLE(testparse testparse.c mojoshader.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 ...
Expand Down

0 comments on commit 2b20e3f

Please sign in to comment.