|
From: <ai...@us...> - 2013-06-28 20:46:59
|
Revision: 12396
http://sourceforge.net/p/plplot/code/12396
Author: airwin
Date: 2013-06-28 20:46:53 +0000 (Fri, 28 Jun 2013)
Log Message:
-----------
Drop the find_library part of the previous commit. That turned out to
be required only because of a system installation screwup I had which
has since been fixed.
But retain the whitespace changes of the previous commit.
Modified Paths:
--------------
trunk/cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake
Modified: trunk/cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake
===================================================================
--- trunk/cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake 2013-06-28 20:21:53 UTC (rev 12395)
+++ trunk/cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake 2013-06-28 20:46:53 UTC (rev 12396)
@@ -87,15 +87,9 @@
#CMAKE_FLAGS "-DLINK_LIBRARIES=gphobos"
OUTPUT_VARIABLE OUTPUT)
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
- find_library(PHOBOS_LIBRARY gphobos2)
- if(PHOBOS_LIBRARY)
- TRY_COMPILE(CMAKE_D_PHOBOS_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testDCompiler.d
- CMAKE_FLAGS "-DLINK_LIBRARIES=${PHOBOS_LIBRARY}"
- OUTPUT_VARIABLE OUTPUT)
- else(PHOBOS_LIBRARY)
- message(STATUS "Failed to find Phobos library")
- set(CMAKE_D_PHOBOS_WORKS OFF)
- endif(PHOBOS_LIBRARY)
+ TRY_COMPILE(CMAKE_D_PHOBOS_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testDCompiler.d
+ CMAKE_FLAGS "-DLINK_LIBRARIES=gphobos2"
+ OUTPUT_VARIABLE OUTPUT)
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
ELSE(CMAKE_COMPILER_IS_GDC)
IF(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|