diff options
author | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
commit | f1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch) | |
tree | ab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/assimp/samples/SimpleTexturedOpenGL/CMakeLists.txt | |
parent | f567ea1e2798fd3156a416e61f083ea3e6b95719 (diff) |
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/assimp/samples/SimpleTexturedOpenGL/CMakeLists.txt')
-rw-r--r-- | libs/assimp/samples/SimpleTexturedOpenGL/CMakeLists.txt | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/libs/assimp/samples/SimpleTexturedOpenGL/CMakeLists.txt b/libs/assimp/samples/SimpleTexturedOpenGL/CMakeLists.txt deleted file mode 100644 index 1837af0..0000000 --- a/libs/assimp/samples/SimpleTexturedOpenGL/CMakeLists.txt +++ /dev/null @@ -1,50 +0,0 @@ -FIND_PACKAGE(OpenGL) -FIND_PACKAGE(GLUT) - -IF ( NOT GLUT_FOUND ) - IF ( MSVC ) - SET ( GLUT_FOUND 1 ) - SET ( GLUT_INCLUDE_DIR ${Assimp_SOURCE_DIR}/samples/freeglut/ ) - SET ( GLUT_LIBRARIES ${Assimp_SOURCE_DIR}/samples/freeglut/lib/freeglut.lib ) - ELSE () - MESSAGE( WARNING "Please install glut." ) - ENDIF () -ENDIF () - -if ( MSVC ) - ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS ) - ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS ) -endif () - -INCLUDE_DIRECTORIES( - ${Assimp_SOURCE_DIR}/code - ${OPENGL_INCLUDE_DIR} - ${GLUT_INCLUDE_DIR} - ${SAMPLES_SHARED_CODE_DIR} -) - -LINK_DIRECTORIES( - ${Assimp_BINARY_DIR} - ${Assimp_BINARY_DIR}/lib/ -) - -ADD_EXECUTABLE( assimp_simpletexturedogl WIN32 - SimpleTexturedOpenGL/src/model_loading.cpp - ${SAMPLES_SHARED_CODE_DIR}/UTFConverter.cpp - ${SAMPLES_SHARED_CODE_DIR}/UTFConverter.h -) - -TARGET_USE_COMMON_OUTPUT_DIRECTORY(assimp_simpletexturedogl) - -SET_PROPERTY(TARGET assimp_simpletexturedogl PROPERTY DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) - -TARGET_LINK_LIBRARIES( assimp_simpletexturedogl assimp ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ) - -SET_TARGET_PROPERTIES( assimp_simpletexturedogl PROPERTIES - OUTPUT_NAME assimp_simpletexturedogl -) - -INSTALL( TARGETS assimp_simpletexturedogl - DESTINATION "${ASSIMP_BIN_INSTALL_DIR}" COMPONENT assimp-dev -) - |