@@ -678,7 +678,7 @@ endif(NOT BUILD_FRAMEWORK)
endif()
message("-- Can SFML 2.x sample be built")
- find_package(SFML 2 COMPONENTS graphics window system)
+ find_package(SFML 2 COMPONENTS graphics window system main)
if(NOT SFML_FOUND)
message("-- Can SFML 2.x sample be built - no")
else()
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
// NOTE: if fonts and rml are not found you'll probably have to adjust
// the path information in the string
- ShellFileInterface FileInterface("../../assets/");
+ ShellFileInterface FileInterface("../Samples/assets/");
if(!MyWindow.isOpen())
return 1;