mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[lua] add comment about new option
This commit is contained in:
parent
1551d9942e
commit
b9b27e72d3
@ -1,3 +1,7 @@
|
|||||||
|
# Lua can be compiled as either C or C++.
|
||||||
|
# Default configuration is C, set COMPILE_AS_CPP to ON to use C++.
|
||||||
|
# See http://stackoverflow.com/questions/13560945/c-and-c-library-using-longjmp for why would you want to do that.
|
||||||
|
|
||||||
PROJECT ( lua )
|
PROJECT ( lua )
|
||||||
|
|
||||||
IF( NOT WIN32 )
|
IF( NOT WIN32 )
|
||||||
@ -61,6 +65,7 @@ IF (NOT DEFINED SKIP_INSTALL_HEADERS)
|
|||||||
src/lauxlib.h
|
src/lauxlib.h
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
)
|
)
|
||||||
|
# If using C++, don't install extern "C" wrapper.
|
||||||
IF (NOT COMPILE_AS_CPP)
|
IF (NOT COMPILE_AS_CPP)
|
||||||
INSTALL(FILES src/lua.hpp DESTINATION include)
|
INSTALL(FILES src/lua.hpp DESTINATION include)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user