Skip to content

Commit ec49ebf

Browse files
committed
CMake: Use the new way of setting output path
1 parent 1b29846 commit ec49ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ add_library(${HEIMER_LIB_NAME} STATIC ${HEIMER_LIB_HDR} ${HEIMER_LIB_SRC} ${MOC_
235235
target_link_libraries(${HEIMER_LIB_NAME} Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Network Qt${QT_VERSION_MAJOR}::Svg Qt${QT_VERSION_MAJOR}::Xml SimpleLogger_static Argengine_static)
236236

237237
# Add the executable
238-
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
238+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
239239
add_executable(${BINARY_NAME} WIN32 ${APP_SRC} ${MOC_SRC} ${RC_SRC} ${UI_HDRS} ${QM})
240240
target_link_libraries(${BINARY_NAME} ${HEIMER_LIB_NAME})
241241

0 commit comments

Comments
 (0)