Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
Export symbols and manual visibility for static members
  • Loading branch information
Ace314159 committed Nov 16, 2021
1 parent a900ef1 commit 7b070a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ add_library(behavior_tree_editor SHARED
${APP_CPPS}
${FORMS_HEADERS}
)
set_target_properties(behavior_tree_editor PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
include(GenerateExportHeader)
generate_export_header(behavior_tree_editor)
target_include_directories(behavior_tree_editor PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
)

SET(GROOT_DEPENDENCIES QtNodeEditor )

Expand Down

0 comments on commit 7b070a6

Please sign in to comment.