Skip to content

Commit

Permalink
Removed obsolete Export Header
Browse files Browse the repository at this point in the history
Already taken care with the target_include_directories

Contributes to CURA-8640
  • Loading branch information
jellespijker committed Apr 12, 2022
1 parent 4ba8dda commit 2be1f55
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ AssureOutOfSourceBuilds()

include(CMakePackageConfigHelpers)
include(GenerateExportHeader)
generate_export_header(Arcus EXPORT_FILE_NAME src/ArcusExport.h)

option(BUILD_PYTHON "Build " ON)
option(BUILD_EXAMPLES "Build the example programs" OFF)
Expand Down Expand Up @@ -73,13 +74,6 @@ set_target_properties(Arcus PROPERTIES
VISIBILITY_INLINES_HIDDEN 1
)

generate_export_header(Arcus
EXPORT_FILE_NAME src/ArcusExport.h
)
# This is required when building out-of-tree.
# The compiler won't find the generated header otherwise.
include_directories(${CMAKE_BINARY_DIR}/src)

if(BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
Expand Down

0 comments on commit 2be1f55

Please sign in to comment.