Skip to content

Commit 2e19549

Browse files
authored
Fix ur_calibration compilation on Windows (backport of #1400) (#1408)
1 parent b397c9b commit 2e19549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ur_calibration/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 3.5)
22
project(ur_calibration)
33

44
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
5-
add_compile_options(-Wall -Wextra -Wpedantic)
5+
add_compile_options(-Wall -Wextra -Wpedantic -Wno-unused-parameter)
66
endif()
77

8-
add_compile_options(-Wno-unused-parameter)
8+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
99

1010
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
1111
message("${PROJECT_NAME}: You did not request a specific build type: selecting 'RelWithDebInfo'.")

0 commit comments

Comments
 (0)