Skip to content

Commit

Permalink
Fix cmake paths so we can use Arbor as a sub-project. (#1948)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater authored Aug 23, 2022
1 parent b24245a commit 10ef35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CompilerOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function(export_visibility target)
# generate config file
get_target_property(target_binary_dir ${target} BINARY_DIR)
configure_file(
${CMAKE_SOURCE_DIR}/cmake/export.hpp.in
${PROJECT_SOURCE_DIR}/cmake/export.hpp.in
${target_binary_dir}/include/${target_short_name}/export.hpp
@ONLY)
endfunction()

0 comments on commit 10ef35e

Please sign in to comment.