Skip to content

Commit

Permalink
m2k-gui: Set CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows.
Browse files Browse the repository at this point in the history
Signed-off-by: andrei.danila <andrei.danila@analog.com>
  • Loading branch information
andreidanila1 committed Jun 17, 2024
1 parent 6392390 commit 965b96b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/m2k/m2k-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
else()
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif()

set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN TRUE)
Expand Down

0 comments on commit 965b96b

Please sign in to comment.