Revision: 75790
http://sourceforge.net/p/brlcad/code/75790
Author: starseeker
Date: 2020-05-14 02:02:07 +0000 (Thu, 14 May 2020)
Log Message:
-----------
Make the dependency on pnglibconf.h at the object level explicit
Modified Paths:
--------------
brlcad/trunk/src/libicv/CMakeLists.txt
Modified: brlcad/trunk/src/libicv/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libicv/CMakeLists.txt 2020-05-14 01:34:52 UTC (rev
75789)
+++ brlcad/trunk/src/libicv/CMakeLists.txt 2020-05-14 02:02:07 UTC (rev
75790)
@@ -29,6 +29,10 @@
if(CPP_DLL_DEFINES)
set_property(TARGET libicv APPEND PROPERTY COMPILE_DEFINITIONS
"NETPBM_DLL_IMPORTS")
endif(CPP_DLL_DEFINES)
+if (TARGET png)
+ set_source_files_properties(fileformat.c PROPERTIES OBJECT_DEPENDS
${CMAKE_BINARY_DIR}/src/other/libpng/pnglibconf.h)
+ set_source_files_properties(png.c PROPERTIES OBJECT_DEPENDS
${CMAKE_BINARY_DIR}/src/other/libpng/pnglibconf.h)
+endif (TARGET png)
add_subdirectory(tests)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits