File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ set(DOXYFILE_EXTRA_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/include")
9
9
10
10
include (UseDoxygen OPTIONAL )
11
11
12
+ set (LIBDIR "lib${LIB_SUFFIX} " )
13
+
12
14
add_subdirectory (src)
13
15
14
16
configure_file (${LIBUECC_SOURCE_DIR} /libuecc.pc.in ${LIBUECC_BINARY_DIR} /libuecc.pc @ONLY)
15
- install (FILES ${LIBUECC_BINARY_DIR} /libuecc.pc DESTINATION "lib /pkgconfig" )
17
+ install (FILES ${LIBUECC_BINARY_DIR} /libuecc.pc DESTINATION "${LIBDIR} /pkgconfig" )
16
18
17
19
FILE (GLOB include_files "${CMAKE_CURRENT_SOURCE_DIR} /include/libuecc/*.h" )
18
20
install (FILES ${include_files} DESTINATION "include/libuecc-${PROJECT_VERSION} /libuecc" )
Original file line number Diff line number Diff line change 1
1
prefix=@CMAKE_INSTALL_PREFIX@
2
2
exec_prefix=${prefix}
3
- libdir=${exec_prefix}/lib
3
+ libdir=${exec_prefix}/@LIBDIR@
4
4
includedir=${prefix}/include
5
5
6
6
Name: libuecc
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set_target_properties(uecc_static PROPERTIES
18
18
)
19
19
20
20
install (TARGETS uecc_shared uecc_static
21
- ARCHIVE DESTINATION lib ${LIB_SUFFIX }
22
- LIBRARY DESTINATION lib ${LIB_SUFFIX }
21
+ ARCHIVE DESTINATION ${LIBDIR }
22
+ LIBRARY DESTINATION ${LIBDIR }
23
23
RUNTIME DESTINATION bin
24
24
)
You can’t perform that action at this time.
0 commit comments