Changeset 19775
- Timestamp:
- 10/15/19 10:53:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/CMakeLists.txt
r19774 r19775 270 270 # install directory. In this case, the pcm files 271 271 # are not where the library is where they should be 272 ADD_CUSTOM_COMMAND(TARGET ${_CINT} POST_BUILD 273 COMMAND test -f ../dictionary/${CINT}_rdict.pcm && ln -s ../dictionary/${_CINT}_rdict.pcm ${_CINT}_rdict.pcm || true 274 WORKING_DIRECTORY lib 275 VERBATIM) 272 IF(TARGET ${_CINT}) 273 ADD_CUSTOM_COMMAND(TARGET ${_CINT} POST_BUILD 274 COMMAND test -f ../dictionary/${CINT}_rdict.pcm && ln -s ../dictionary/${_CINT}_rdict.pcm ${_CINT}_rdict.pcm || true 275 WORKING_DIRECTORY lib 276 VERBATIM) 277 ENDIF() 276 278 277 279 ENDMACRO() … … 347 349 # install directory. In this case, the pcm files 348 350 # are not where the library is where they should be 349 ADD_CUSTOM_COMMAND(TARGET Core POST_BUILD 350 COMMAND test -f ../dictionary/Core_rdict.pcm && ln -s ../dictionary/Core_rdict.pcm Core_rdict.pcm || true 351 WORKING_DIRECTORY lib 352 VERBATIM) 351 IF(TARGET Core) 352 ADD_CUSTOM_COMMAND(TARGET Core POST_BUILD 353 COMMAND test -f ../dictionary/Core_rdict.pcm && ln -s ../dictionary/Core_rdict.pcm Core_rdict.pcm || true 354 WORKING_DIRECTORY lib 355 VERBATIM) 356 ENDIF() 353 357 354 358
Note:
See TracChangeset
for help on using the changeset viewer.