Update CMakeLists.txt
This commit is contained in:
parent
93f3831e49
commit
3df9f70d59
@ -10,8 +10,11 @@ if (MSVC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "/SUBSYSTEM:CONSOLE")
|
||||
endif()
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG .)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE .)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO .)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY .)
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(${PROJECT_NAME} m)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user