1. libgd
  2. Untitled project
  3. gd-libgd


Pierre Joye  committed b6b1941

fix test build, missing gd_lib, TODO: run tests twice for static and shared builds (as they are done at the same time by default)

  • Participants
  • Parent commits e50515d
  • Branches master

Comments (0)

Files changed (2)

File tests/bmp/CMakeLists.txt

View file
 FOREACH(test_name ${TESTS_FILES})
 	add_executable(${test_name} "${test_name}.c")
-	target_link_libraries (${test_name} gdTest)
+	target_link_libraries (${test_name} gdTest ${GD_LIB})
 	get_target_property(test_path ${test_name} LOCATION)
 	ADD_TEST(${test_name} ${test_path})

File tests/gdtest/CMakeLists.txt

View file
 CONFIGURE_FILE(test_config.h.cmake test_config.h ESCAPE_QUOTES)
 add_library (gdTest STATIC gdtest.c)
-target_link_libraries(gdTest ${GD_LIB_STATIC})
+target_link_libraries(gdTest ${GD_LIB})