Permalink
Browse files

Fixed find package

  • Loading branch information...
1 parent 306a089 commit 9feb31ab8b97eda9561846508ee9e3a2caff8da7 @drahosp drahosp committed Aug 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
View
@@ -8,10 +8,10 @@ project ( toluapp C )
cmake_minimum_required ( VERSION 2.8 )
include ( cmake/dist.cmake )
-find_library ( Lua REQUIRED )
+find_package ( Lua REQUIRED )
+include_directories ( include src/lib ${LUA_INCLUDE_DIR} )
# Build lib
-include_directories ( include src/lib )
file ( GLOB SRC_LIBTOLUAPP src/lib/*.c )
if ( MSVC )
set ( DEF_FILE libtoluapp.def )

0 comments on commit 9feb31a

Please sign in to comment.