mirror of
				https://git.wownero.com/wownero/RandomWOW.git
				synced 2024-08-15 00:23:14 +00:00 
			
		
		
		
	Fix cmake standalone build (#56)
This commit is contained in:
		
							parent
							
								
									0c5b666df4
								
							
						
					
					
						commit
						d660798b9f
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -26,6 +26,8 @@ | |||
| # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | ||||
| # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
| 
 | ||||
| cmake_minimum_required(VERSION 2.8.7) | ||||
| 
 | ||||
| set (randomx_sources | ||||
| src/aes_hash.cpp | ||||
| src/argon2_ref.c | ||||
|  | @ -48,6 +50,14 @@ src/virtual_machine.cpp | |||
| src/vm_compiled_light.cpp | ||||
| src/blake2/blake2b.c) | ||||
| 
 | ||||
| if (NOT ARCH_ID) | ||||
|   set(ARCH_ID ${CMAKE_HOST_SYSTEM_PROCESSOR}) | ||||
| endif() | ||||
| 
 | ||||
| if(NOT CMAKE_BUILD_TYPE) | ||||
|   set(CMAKE_BUILD_TYPE Release) | ||||
| endif() | ||||
| 
 | ||||
| if (ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64") | ||||
|   list(APPEND randomx_sources | ||||
|     src/jit_compiler_x86_static.S | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue