Commit e46937c8 authored by François Grisez's avatar François Grisez

Fix bad cmake variable name

parent a71a5af3
......@@ -21,7 +21,7 @@ add_subdirectory(libebml2)
add_subdirectory(libmatroska2)
install(FILES ${CMAKE_BINARY_DIR}/config.h
DESTINATION ${CMAKE_INSTALL_DIR}/lib/matroska2/include/corec
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/matroska2/include/corec
)
include(CMakePackageConfigHelpers)
......@@ -39,5 +39,5 @@ configure_file(Matroska2Config.cmake.in
install(FILES
${CMAKE_BINARY_DIR}/Matroska2ConfigVersion.cmake
${CMAKE_BINARY_DIR}/Matroska2Config.cmake
DESTINATION ${CMAKE_INSTALL_DIR}/lib/cmake/Matroska2
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/cmake/Matroska2
)
......@@ -33,5 +33,5 @@ install(FILES
memalloc.h
memheap.h
portab.h
DESTINATION ${CMAKE_INSTALL_DIR}/lib/matroska2/include/corec
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/matroska2/include/corec
)
\ No newline at end of file
......@@ -11,5 +11,5 @@ add_library(ebml2 STATIC
)
install(DIRECTORY ebml
DESTINATION ${CMAKE_INSTALL_DIR}/lib/matroska2/include
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/matroska2/include
)
\ No newline at end of file
......@@ -12,9 +12,9 @@ target_include_directories(matroska2
target_link_libraries(matroska2 ebml2 corec)
install(DIRECTORY matroska
DESTINATION ${CMAKE_INSTALL_DIR}/include
DESTINATION ${CMAKE_INSTALL_PREFIX}/include
)
install(TARGETS matroska2
ARCHIVE DESTINATION ${CMAKE_INSTALL_DIR}/lib
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment