Skip to content

Commit

Permalink
fix cmake install (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseymcc authored Jun 11, 2019
1 parent a6c374f commit 2a5521f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ set(hastyNoise_sources
set(hastyNoise_headers
HastyNoise/hastyNoise.h
HastyNoise/hastyNoise_enums.h
HastyNoise/hastyNoise_export.h
)

set(hastyNoise_inline
HastyNoise/hastyNoise_internal.h
HastyNoise/hastyNoise_internal.inl
HastyNoise/simd_constants.inl
Expand All @@ -138,6 +142,7 @@ set(hastyNoise_headers
add_library(hastyNoise SHARED
${hastyNoise_sources}
${hastyNoise_headers}
${hastyNoise_inline}
)
set(library_targets ${library_targets} hastyNoise)

Expand Down Expand Up @@ -368,7 +373,7 @@ install(

# Headers:
install(
FILES "HastyNoise/hastyNoise.h" "HastyNoise/hastyNoise_export.h"
FILES ${hastyNoise_headers}
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}"
)

Expand Down

0 comments on commit 2a5521f

Please sign in to comment.