Commit 8ca1ded2 authored by jan.koester's avatar jan.koester
Browse files

test

parent 610a7c29
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5,6 +5,10 @@ enable_testing ()
set(LIBV "1.0.0")
set(Upstream_VERSION 1.0.0)

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
    set(CMAKE_INSTALL_PREFIX "c:/Program Files")
endif()

if(NOT ${CMAKE_CXX_COMPILER} MATCHES "MSVC")
set(CMAKE_CXX_FLAGS "-fPIC -Wall")
endif()
+4 −4
Original line number Diff line number Diff line
include(CMakeFindDependencyMacro)
# find_dependency(xx 2.0)
include(${CPACK_PACKAGING_INSTALL_PREFIX}/libhtmlppTargets.cmake)
include(${CPACK_PACKAGING_INSTALL_PREFIX}/libhtmlppConfigVersion.cmake)

set(HTMLPP_INCLUDE_DIR   "@CPACK_PACKAGING_INSTALL_PREFIX@" )
include("@CMAKE_INSTALL_PREFIX@/libhtmlpp/@ConfigPackageLocation@/libhtmlppTargets.cmake")
include("@CMAKE_INSTALL_PREFIX@/libhtmlpp/@ConfigPackageLocation@/libhtmlppConfigVersion.cmake")

set(HTMLPP_INCLUDE_DIR   "@CMAKE_INSTALL_PREFIX@/libhtmlpp/include")
set(HTMLPP_CONFIG_DIR    "@CMAKE_INSTALL_PREFIX@/libhtmlpp/@ConfigPackageLocation@")
 No newline at end of file