Merge pull request #1317 from ffontaine/master
CMakeLists.txt: Don't require a C++ compiler
This commit is contained in:
commit
eb27272a79
|
@ -24,7 +24,7 @@ endif()
|
|||
#string(TOLOWER ${OPENJPEG_NAMESPACE} OPENJPEG_LIBRARY_NAME)
|
||||
set(OPENJPEG_LIBRARY_NAME openjp2)
|
||||
|
||||
project(${OPENJPEG_NAMESPACE})
|
||||
project(${OPENJPEG_NAMESPACE} C)
|
||||
|
||||
# Do full dependency headers.
|
||||
include_regular_expression("^.*$")
|
||||
|
|
|
@ -120,5 +120,6 @@ endif(BUILD_THIRDPARTY)
|
|||
|
||||
#------------
|
||||
IF (WITH_ASTYLE)
|
||||
enable_language(CXX)
|
||||
ADD_SUBDIRECTORY(astyle)
|
||||
ENDIF(WITH_ASTYLE)
|
||||
|
|
Loading…
Reference in New Issue