Skip to content

Commit

Permalink
Merge pull request wdas#18 from davvid/static-ptxinfo
Browse files Browse the repository at this point in the history
utils: link ptxinfo statically
  • Loading branch information
brentb committed Mar 5, 2016
2 parents 584c960 + a8b4b64 commit b5dc96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/CMakeLists.txt
Expand Up @@ -10,6 +10,6 @@ execute_process(COMMAND git describe ${PTEX_SHA}

add_executable(ptxinfo ptxinfo.cpp)
add_definitions(-DPTEX_VER="${PTEX_VER} \(${PTEX_SHA}\)" -DPTEX_STATIC)
target_link_libraries(ptxinfo Ptex_dynamic)
target_link_libraries(ptxinfo Ptex_static z ${CMAKE_THREAD_LIBS_INIT})

install(TARGETS ptxinfo DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit b5dc96e

Please sign in to comment.