Skip to content

Commit

Permalink
chore(trad): corrections to cmake build for trad
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Aug 27, 2020
1 parent 02ff52c commit 72e5097
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ if(WIN32)
add_custom_target(rtpict ALL
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d
)
install(FILES
${CMAKE_BINARY_DIR}/bin/trad
DESTINATION "bin"
)
install(PROGRAMS
bsdfview.exe
genBSDF.exe
Expand Down Expand Up @@ -243,6 +239,11 @@ else()
vinfo.csh
)
add_custom_target(trad ALL
COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ${CMAKE_BINARY_DIR}/bin ${CMAKE_BINARY_DIR}/lib
COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh ../../build/bin ../../build/lib
)
install(FILES
${CMAKE_BINARY_DIR}/bin/trad
DESTINATION "bin"
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
)
endif()

0 comments on commit 72e5097

Please sign in to comment.