Skip to content

Commit

Permalink
cmake: allow wavpack to be installed by a master project
Browse files Browse the repository at this point in the history
Installation of wavpack by a master project (=project including wavpack) failed
because include/wavpack.h is found relative to the location of install().
  • Loading branch information
madebr authored and dbry committed Dec 12, 2022
1 parent e03e8e2 commit b6e6e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -370,7 +370,7 @@ if(BUILD_SHARED_LIBS)
endif()

set_target_properties(wavpack PROPERTIES EXPORT_NAME WavPack)
set_target_properties(wavpack PROPERTIES PUBLIC_HEADER include/wavpack.h)
set_target_properties(wavpack PROPERTIES PUBLIC_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/include/wavpack.h")

if(WAVPACK_BUILD_PROGRAMS)

Expand Down

0 comments on commit b6e6e1a

Please sign in to comment.