Revision b9d89f52
Added by David Sorber almost 8 years ago
| software/libpackjpg/lib_src/CMakeLists.txt | ||
|---|---|---|
|
add_definitions("-funroll-loops -ffast-math -fomit-frame-pointer")
|
||
|
add_definitions("-march=native")
|
||
|
|
||
|
add_library(libpackjpg SHARED
|
||
|
add_library(packjpg SHARED
|
||
|
${packjpg_sources})
|
||
|
|
||
|
install(TARGETS libpackjpg
|
||
|
install(TARGETS packjpg
|
||
|
LIBRARY DESTINATION "/usr/lib/x86_64-linux-gnu/")
|
||
|
|
||
|
install(FILES "../packjpg.h"
|
||
|
install(FILES "packjpg.h"
|
||
|
DESTINATION "/usr/include/")
|
||
|
|
||
|
# packjpg_simple executable
|
||
| ... | ... | |
|
add_executable(packjpg_simple
|
||
|
../bin/packjpg_simple.cc)
|
||
|
|
||
|
target_link_libraries(packjpg_simple ${Boost_LIBRARIES} libpackjpg stdc++fs)
|
||
|
target_link_libraries(packjpg_simple ${Boost_LIBRARIES} packjpg stdc++fs)
|
||
Fix library name and include path for install target.