aboutsummaryrefslogtreecommitdiff
path: root/visualization/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Gary Wang <wzc782970009@gmail.com> 2020-10-15 09:55:51 +0800
committerGravatar Gary Wang <wzc782970009@gmail.com> 2020-11-10 18:59:21 +0800
commit524aeee63007fcc40902f807475b49c814f46213 (patch)
tree8ad979c30aa0d3f67c0f4418a4d63e58c3fe5246 /visualization/CMakeLists.txt
parentb17acb9a708eb6f93d4deec70ce9b6d9657676be (diff)
downloadQMidiPlayer-524aeee63007fcc40902f807475b49c814f46213.tar.xz
fix: missing link libraries path for windows build
Diffstat (limited to 'visualization/CMakeLists.txt')
-rw-r--r--visualization/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/visualization/CMakeLists.txt b/visualization/CMakeLists.txt
index 6d474e0..ca1096c 100644
--- a/visualization/CMakeLists.txt
+++ b/visualization/CMakeLists.txt
@@ -13,8 +13,8 @@ if(WIN32)
list(APPEND visualization_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/visualization.rc)
endif(WIN32)
-set(BUILD_DUMB ON)
-set(BUILD_EXAMPLE OFF)
+option(BUILD_DUMB "SMELT override: disable sound support" ON)
+option(BUILD_EXAMPLE "SMELT override: build example" OFF)
add_subdirectory(SMELT)
add_subdirectory(renderer)
@@ -41,7 +41,7 @@ target_link_libraries(visualization
${ZLIB_LIBRARIES}
${IL_LIBRARIES}
glfw
- ${GLEW_LIBRARIES}
+ GLEW::glew
OpenGL::GL
)